import React, { Component } from 'react'
import "./SearchInput.scss"
import {withRouter} from "react-router-dom"
class SearchInput extends Component {
  handleClickSearch = (params) => {
    this.props.history.push("/searchPage")
  }
  render() {
    return (
      <div>
        <div className="ygHomeSearchBox">
          <div className="ygHomeSearchBoxInput"
          onClick={this.handleClickSearch}
          >
            搜索</div>
        </div>
      </div>
    )
  }
}
export default withRouter(SearchInput)